
//
// 120718 - AH - (Midtun) Created.
//

package org.soekrat.environment.event;

import org.soekrat.conversationevent.ConversationListener;
import org.soekrat.environment.Sensor;

/**
 * <p>
 *   Interface for objects that listen for
 *   {@link SensorEvent}s from
 *   {@link Sensor}s.  
 * </p>
 * @author Arne Halvorsen (AH)
 * @author Laetitia Le Chatton (LLC)
 */
public interface SensorListener extends ConversationListener 
{
  /**
   * <p>
   *   Invoked when 
   *   {@link Sensor} releases sensed data.
   * </p>
   * @param e Event.
   */
  //void sensed(SensorEvent e);
  
  /**
   * <p>
   *   The empty array shared.
   * </p>
   */
  public static final SensorListener[] EMPTY_ARRAY=new SensorListener[0];
  
}
